# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mlite
pkgver=0.4.1
pkgrel=0
pkgdesc="Useful classes originating from MeeGo Touch"
url="https://github.com/sailfishos/mlite"
arch="all"
license="LGPL-2.1-only"
depends_dev="dconf-dev"
makedepends="$depends_dev
	qt5-qtbase-dev
	qt5-qttools-dev
	"
subpackages="$pkgname-dev"
source="https://github.com/sailfishos/mlite/archive/$pkgver/mlite-$pkgver.tar.gz"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install

	# Remove installed tests
	rm -r "$pkgdir/opt"
}
sha512sums="
7263629e1bb0d44e3a86ecb9fb8b44d1482027638be0c060ffde470f9170d08b645e1411208377ecf9f5d7cc608599fafeb6df66c8cb235e059786c13ef51a9f  mlite-0.4.1.tar.gz
"
